package ircclient;

import java.net.Socket;

/**
 *
 * @author eirikb
 */
public class IrcClient {

    private Socket socket;

    public static void main(String[] args) {
        IrcClient c = new IrcClient();
        if (c.connect("irc.homelien.no", 6667)) {
            System.out.println("Here we go! :D");
        } else {
            System.out.println("blah");
        }
    }

    public boolean connect(String host, int port) {
        try {
            socket = new Socket(host, port);
            return true;
        } catch (Exception e) {
            e.printStackTrace();
            return false;
        }
    }
}
